import Vue from 'vue'
import Router from 'vue-router'
import mall from '@/pages/mall'
import test from '@/pages/test'
import test2 from '@/pages/test2'
import Cart from '@/pages/Cart'
import test3 from '@/pages/test3'
import OrderLIst from '@/pages/OrderLIst'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'mall',
      component: mall
    },{
      path: '/mall',
      name: 'mall',
      component: mall
    },{
      path: '/test',
      name: 'test',
      component: test
    },{
      path: '/test2',
      name: 'test2',
      component: test2
    },{
      path: '/Cart',
      name: 'Cart',
      component: Cart
    },{
      path: '/test3',
      name: 'test3',
      component: test3
    },{
      path: '/OrderList',
      name: 'OrderList',
      component: OrderLIst
    }
  ]
})
